package makovo.entities;

import java.util.ArrayList;

public class ApplicantWithDocs extends Applicant {
	private ArrayList<Document> mDocs;

	public ArrayList<Document> getDocs() {
		return this.mDocs;
	}

	public void setDocs(ArrayList<Document> docs) {
		this.mDocs = docs;
	}

	public void addDoc(Document doc) {
		this.mDocs.add(doc);
	}

	public ApplicantWithDocs(String curp, String name, String lastName, String secondLastName, String phone, String seq,
			String seqId, String birth, int idTypeID, int idState, String typeID, String mstate, int step, int approveStep,
			Address address) {
		super(curp, name, lastName, secondLastName, phone, seq, seqId, birth, idTypeID, idState, typeID, mstate, step,
				approveStep, address);
		this.mDocs = new ArrayList<Document>();
	}

	public ApplicantWithDocs(Applicant a) {
		super(a.curp, a.name, a.lastName, a.secondLastName, a.phone, a.seq, a.seqId, a.birth, a.idTypeID, a.idState, a.typeID,
				a.mstate, a.step, a.appStep, a.address);
		this.mDocs = new ArrayList<Document>();
	}

}
